@item_final_height: 201px;

.row {
  margin: @spacing;
}

.item {
  &:extend(.transition);
  margin: @spacing;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(#000, 0.2);

  &:hover {
    box-shadow: 0 2px 10px rgba(#000, 0.5);
  }

  .title {
    &:extend(.text_ellipsis);
    margin-bottom: 0;
    padding: @spacing;
    margin-bottom: @spacing;
    color: #fff;
    font-weight: bold;
  }

  .desc {
    padding: 0 @spacing;
    margin-bottom: 0;
    height: 4.5em;
    overflow: hidden;
    color: #333;
  }

  .info {
    position: relative;
    padding: @spacing;
    margin-top: @spacing;
    display: flex;
    align-items: center;

    &::before {
      position: absolute;
      top: 0;
      left: @spacing;
      right: @spacing;
      display: block;
      content: '';
      height: 1px;
      background-color: #eee;
    }
  }

  .nickname {
    margin-left: 0.5 * @spacing;
    margin-right: auto;
    font-size: 12px;
    color: #999;
  }

  .date {
    &:extend(.text_ellipsis);
    margin-left: 0.5 * @spacing;
    color: #999;
    font-size: 12px;
  }
}

.item_add {
  &:extend(.item all);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: @item_final_height;
  background-color: #eee;
  color: #333;

  span {
    margin-top: @spacing;
  }
}
